<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP6!';
});

Route::get('hello/:name', 'index/hello');
//展示和搜索
Route::get('list','blog/list');
//添加页面
Route::any('addFrom','blog/addFrom');
//添加功能
Route::post('addUse','blog/addUse');
//删除功能
Route::get('delUse','blog/delUse');
//批量删除功能
Route::any('delAll','blog/delAll');
//修改查找
Route::any('findUse','blog/findUse');
//修改功能
Route::post('updateUse','blog/updateUse');
//excel表导出
Route::any('get','blog/get');